/**
 * @ author: 汪孟苹
 */
define(["jquery","bbcare","as/app/gms/gmsList.servers",
    "fu/app/datatable/datatable.ui"],function ($,$bb,$servers,$datatableUi) {
    var gmsList = {};

    /**
     * 跳转到gms评估添加页面
     */
    var onGotoGms = function(){
        $bb.openPage("gms");
    }

    gmsList.init = function(){
    	$datatableUi.init({
            "id": "gmsList",
            "options": $servers.getOptions()
        });
        $("#addGmsRecord").unbind("click");
        $("#addGmsRecord").click(onGotoGms);
    }

    return gmsList;
});